<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../../js库/mock.js"></script>
    <script src="../../js库/vue.js"></script>
    <title>淘宝焦点图</title>
    <style>
        * {
            margin: 0;padding: 0;
        }
        /*  */
        #root {
            width: 700px;
            height: 400px;
            margin: 100px auto;
            /* background-color: blue; */
            position: relative;
            top: 0;
            left: 0;
        }
        img {
            width: 100%;
            height: 100%;

        }
        .arrows {
            width: 20px;
            height: 20px;
            position: absolute;
            top: 50%;
            margin-top: -10px;
            text-decoration: none;
            text-align: center;
            line-height: 20px;
            background: rgba(0, 0, 0, 0.3);
        }
        .left {
            left: 0;
           text-align: left;
           border-bottom-right-radius: 10px;
           border-top-right-radius: 10px;
        }
        .right {
            right: 0;
          text-align: right;
            border-top-left-radius: 10px;
            border-bottom-left-radius: 10px;
        }
        div.scroll {
            width: 200px;
            height: 30px;
        
            background-color: gainsboro;
            position: absolute;
            left: 50%;
            margin-left: -100px;
            bottom: 10px;
            border-radius: 15px;
        }
        .yuan {
            float: left;
            width: 25px;
            /* 200-40-25x5=160-125=35 */
            height: 25px;
            margin: 2.5px 0;
            background-color: white;
            margin-left: 10px;
            border-radius: 50%;
        }
        .yuan:hover {
            background-color: orange;
        } 
        ul {
            list-style: none;
        }
        span.gg {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 15px;
           background: rgba(0, 0, 0, 0.3);
           border-top-right-radius: 5px;
           font-size: 10px ;
           color: #ffffff;
           text-align: center;
           line-height: 15px;
        }
    </style>
</head>

<body>
    <div id="root">
        <img src="../../picture/all.jpeg" alt="#" class="bd">
       
        
            <a href="#" class="arrows left">
              &lt;
            </a>
            <a href="#" class="arrows right">
                >
            </a>
            <span class="gg">广告</span>
            <div class="scroll">
             <ul>
                <li class="yuan" style="margin-left: 17.5px;"></li>
                <li class="yuan"></li>
                <li class="yuan"></li>
                <li class="yuan"></li>
                <li class="yuan"></li>
             </ul>
            </div>
    </div>
</body>
<script>
    new Vue({
        el: '#root',
        data() {
            return {
            }
        },
    })
</script>

</html>